<?php

class formsComponents extends sfComponents
{
	public function executeForm()
	{
		$cap = new Captcha();
        $this->getUser()->setAttribute('captcha', $cap->generate());
	}
}